<script>
	import {
	      mapState,
	      mapMutations
	  } from 'vuex'
	export default {
		globalData: {
			shareHttp: 'http://app.aibafang.com'	// http://app.aibafang.com
		},  
		computed: {
			...mapState(['SystemInfo','token','socketData','is_chatView','is_socket','chatMsgNum','memberID'])
		},
		onUniNViewMessage:function(e){
	        console.log(JSON.stringify(e.data))  
	      },
		onLaunch: function() {
			console.log('App Launch')
			let _this = this
			this.getNetworkType()
			
			// APP检查更新
			// #ifdef APP-PLUS
			this.vuexRequest({
				url: '/api/v2/version/get-update',
				method: 'GET',
				data: {  
					"app_id": 'joint_venture',
					"version_num": plus.runtime.version, // 
					"terminal_type": "main",
					"app_type": this.SystemInfo.platform
				},
				success: (res)  => { 
					if(JSON.stringify(res.data.data) != "{}" && res.data.data != null){
						plus.runtime.getProperty(plus.runtime.appid,obj=>console.log(obj))
						if(res.data.data.update_way=='hotupdate'){
							plus.runtime.getProperty(plus.runtime.appid, function(widgetInfo) {
								if(parseFloat(widgetInfo.version) < parseFloat(res.data.data.version_num)){
									uni.downloadFile({
										url: res.data.data.download_url,  
										success: (downloadResult) => {  
											console.log(downloadResult.tempFilePath)
											if (downloadResult.statusCode === 200) {  
												plus.runtime.install(downloadResult.tempFilePath, {  
													force: false  
												}, function() {  
													plus.runtime.restart();  
												}, function(e) {  
													uni.showModal({
														title: '失败提示',
														content: JSON.stringify(e),
														success: function (res) {
														   
														}
													});
												});  
											}  
										}  
									});
								}
							})
						}else{
							this.versionTrue(res.data.data)
						}
					}
				},
				fail: (err)  => {
				},
			})
			// 监听点击消息事件
			plus.push.addEventListener( "click", function( msg ) {
				// 判断是从本地创建还是离线推送的消息
				switch( msg.payload ) {
					case "LocalMSG":
						console.log( "点击本地创建消息启动：" );
					break;
					default:
						console.log( "点击离线推送消息启动：");
					break;
				}
				// 提示点击的内容
				//plus.nativeUI.alert( msg.content );
				// 处理其它数据
				console.log(JSON.stringify(msg));
				
				plus.runtime.setBadgeNumber(0);
				/**
				commission_log 我的门店-》查看代理订单 id为member_id
				ship 发货中心 id为order_id
				order_info 订单详情 id为订单id
				store_apply 店铺审核通过
				member_certif 个人实名认证认证结果 id为member_id
				member 个人中心
				withdraw 余额提现申请已审核 
				
				*/
				/* let openData = {
					commission_log:(id)=>{
						uni.navigateTo({
							url: '/pages/wallet/share-order/share-order?id=' + id
						});
					},
					ship:(id)=>{
						uni.navigateTo({
							url: '/pages/sendorder/sendorder-list/sendorder-list'
						});
					},
					order_info:(id)=>{
						uni.navigateTo({
							url: '/pages/order/orderinfo/orderinfo?id=' + id
						});
					},
					store_apply:(id)=>{
						uni.navigateTo({
							url: '/pages/store/store-apply/store-apply'
						});
					},
					member_certif:(id)=>{
						uni.navigateTo({
							url: '/pages/member/certification/certification/certification'
						});
					},
					member:(id)=>{
						uni.switchTab({
							url: '/pages/tabBar/member/member'
						});
					},
					withdraw:(id)=>{
						uni.navigateTo({
							url: '/pages/wallet/withdraw/withdraw'
						});
					}
				} */
				
				if(msg.payload && _this.token){
					openData[msg.payload.type](msg.payload.id)
				}
			}, false );
			
			
			// 监听在线消息事件
			plus.push.addEventListener( "receive", function( msg ) {
				if ( msg.aps ) {  // Apple APNS message
					console.log( "接收到在线APNS消息：" );
				} else {
					console.log( "接收到在线透传消息：" );	
				}
				console.log(JSON.stringify(msg));
				
			}, false );
			
			
			//	 app获取用户信息
			if(this.token){
				this.getMmeberInfo(this.token)
			}
			// #endif
			
			// 微信自动登录
			// #ifdef H5
			if(this.getCookie('access-token')){
				this.login(this.getCookie('access-token'))
				this.getMmeberInfo(this.getCookie('access-token'))
			}else{
				// this.vuexRequest({
				// 	url: '/api/v2/site/auth-login',
				// 	method: 'POST',
				// 	data: {"group": 'wechat'},
				// 	success: (res)  => {
				// 		this.login(res.data.data.access_token)
				// 	},
				// 	fail: (err)  => {}
				// })
			}
			// #endif
			
			// 监听登录事件  
			uni.$on('login',(usnerinfo)=>{  
				if(this.is_socket){
					return !1
				}
				this.setMemberID(usnerinfo.id)
				this.getSocketConfig(usnerinfo.id)
			}) 
			
			uni.$on('logout',()=>{
				console.log('退出')
				this.closeSocket()
			}) 
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		methods: {
			...mapMutations(['getNetworkType','vuexRequest','versionTrue','login','setChatMsgNum','setSocket','setMemberID','setSocketData']),
			getCookie(cname){
				var name = cname + "=";
				var ca = document.cookie.split(';');
				for(var i=0; i<ca.length; i++) {
					var c = ca[i].trim();
					if (c.indexOf(name)==0) { return c.substring(name.length,c.length); }
				}
				return "";
			},
			getMmeberInfo(token){
				this.vuexRequest({
					url: '/api/addons/execute?route=member/info&addon=o-s-mall-dist&access-token=' + token,
					method: 'GET',
					data: {},
					success: (res)  => {
						// 发起socket 进入房间
						this.setMemberID(res.data.data.id)
						//this.linkSocket(res.data.data.id)
						this.getSocketConfig(res.data.data.id)
					},
					fail: (err)  => {
					},
				})
			},
			getSocketConfig(memberId){
				this.vuexRequest({
					url: '/api/addons/execute?route=setting/get-config&addon=orange-im',
					method: 'GET',
					data: {},
					success: (res)  => { 
						this.setSocketData(res.data.data)
						this.linkSocket(memberId)
					},
					fail: (err)  => {
					},
				})
			},
			linkSocket(memberId) {
				if(!this.socketData.link || !this.socketData.port || !this.socketData.customer_id){
					console.log('WebSocket配置出错');
					return !1
				}
				
				let _this = this
				// 发起链接
				uni.connectSocket({
				  url: 'ws://'+_this.socketData.link+':'+_this.socketData.port+'',
				  header: {
					'content-type': 'application/json'
				  }
				});
				
				uni.onSocketOpen(function (res) {
					_this.setSocket(true)
					console.log('WebSocket连接已打开！');
					let sendJsonObj = {};
					sendJsonObj.type = 'bind_uid';
					sendJsonObj.user_id = memberId;
					sendJsonObj.user_type ='customer';
					sendJsonObj.join_id = _this.socketData.customer_id;
					// 链接成功发送身份信息
					uni.sendSocketMessage({
						data: JSON.stringify(sendJsonObj),
						success: function(){
							console.log('发送成功');
						},
						fail: function(){
							console.log('发送失败');
						}
					});
				});
				
				
				uni.onSocketError(function (res) {
				  console.log('WebSocket连接打开失败，请检查！');
				  _this.setSocket(false)
				});
				
				uni.onSocketMessage(function (res) {
				 // console.log('收到服务器内容：' + res.data);
				  _this.onmessage(res.data)
				});
			},
			closeSocket() {
				let _this = this
				if(!this.is_socket){
					return !1
				}
				uni.closeSocket();
				uni.onSocketClose(function (res) {
				  console.log('WebSocket 已关闭！');
				  _this.setSocket(false)
				});
			},
			onmessage(data){
				let _this = this
				var jsonObj = eval('(' + data + ')');
				// console.log("消息: " + JSON.stringify(jsonObj));
				//判断返回的类型
				switch (jsonObj.type) {
				    case 'ping':	//心跳检测
				        break;
				    case 'image':	//图片类型消息
				       // console.log(jsonObj.content);
				        _this.pushMsg(jsonObj)
				        break;
					case 'goods_info':	//商品类型消息
					   // console.log(jsonObj.content);
					    _this.pushMsg(jsonObj)
					    break;
				    case 'voice':	//语音类型消息
				        //console.log(jsonObj.content);   
				      	_this.pushMsg(jsonObj)
				      	break;
				    case 'text':	//文本类型消息
				      	_this.pushMsg(jsonObj)
				        break;         
				    default://其他消息
				        //console.log(jsonObj);
				        break;
				}		
			},
			pushMsg(msg){
				if(this.is_chatView){
					uni.$emit('chatMsg', msg)
				}else{
					// 记录未读消息
					if(this.memberID != msg.from_id){
						let num = this.chatMsgNum
						this.setChatMsgNum(num+1)
					}
				}
			}
		}	
	}
</script>
<style lang="scss">
@import "uview-ui/index.scss";
</style>
<style>
	/*每个页面公共css */
	/* #ifndef APP-NVUE */
	@import './common/uni.css';
	@import url("/components/gaoyia-parse/parse.css");
	page{
		background: #f8f8f8;
	}
	/* #endif */
	.page{
		width: 100vw;
		height: 100vh;
		background-color: #f8f8f8;
		font-size: 28rpx;
	}
	.pbgc{
		background-color: #f8f8f8;
	}
	/*no-status-bar没有状态栏的页面样式*/
	/* #ifdef H5 */
		/* .n-s-b{
			height:calc(100vh - 50px);
			overflow: hidden;
		} */
	/* #endif */
	/* #ifdef MP-WEIXIN */
		/* .n-s-b{
			height: calc(100vh - var(--status-bar-height));
			margin-top: var(--status-bar-height);
			overflow: hidden;
		} */
	/* #endif */	
	/* #ifdef APP-PLUS */
		/* .n-s-b{
			height: calc(100vh - var(--status-bar-height));
			margin-top: var(--status-bar-height);
			overflow: hidden;
		} */
	/* #endif */
	/* .n-s-b{
		height: calc(100vh - var(--status-bar-height));
		margin-top: var(--status-bar-height);
		overflow: hidden;
	} */
	/*IE盒子模型,内容左右内缩10px*/
	.bsp10{
		box-sizing: border-box;
		padding: 0 10px;
	}
	/*填充父元素*/
	.fillxy{
		width: 100%;
		height: 100%;
	}
	/*填充父元素的width，height为auto*/
	.fillx{
		width: 100%;
		height: auto;
	}
	/*填充父元素的height，width为auto*/
	.filly{
		width: auto;
		height: 100%;
	}
	/*height和width都为auto*/
	.autoxy{
		width: auto;
		height: auto;
	}
	/*width为auto,height为父元素的一半*/
	.ah{
		width: auto;
		height: 50%;
	}
	/*width为父元素的一半,height为auto*/
	.ha{
		width: 50%;
		height: auto;
	}
	/*width为父元素的一半,height为填充父元素*/
	.hf{
		width: 50%;
		height: 100%;
	}
	/*width和height都为父元素的一半*/
	.hh{
		width: 50%;
		height: 50%;
	}
	
	/*flex布局,row排列,水平垂直居中*/
	.frcc{
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
	}
	
	/*flex布局,column排列,水平垂直居中*/
	.fccc{
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	
	/*flex布局,row排列,水平靠左垂直居中*/
	.frsc{
		display: flex;
		flex-direction: row;
		justify-content: start;
		align-items: center;
	}
	
	/*flex布局,column排列,水平靠左垂直居中*/
	.fccs{
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: flex-start;
	}
	
	/*flex布局,row排列,水平靠左垂直靠左*/
	.frss{
		display: flex;
		flex-direction: row;
		justify-content: start;
		align-items: start;
	}
	
	/*flex布局,column排列,水平靠左垂直靠左*/
	.fcss{
		display: flex;
		flex-direction: column;
		justify-content: start;
		align-items: flex-start;
	}
	
	/*flex布局,column排列,水平居中垂直靠上*/
	.fcsc{
		display: flex;
		flex-direction: column;
		justify-content: start;
		align-items: center;
	}
	
	.fw{
		flex-wrap: wrap;
	}
	
	/*border-top-unify 统一外box的border-top样式*/
	.wbt-u{
		border-top: 3px solid #facd91;
	}
	/*title-border-bottom-unify 统一title的border-bottom样式*/
	.t-bb-u{
		border-bottom: 1px solid #d7d7d7;
	}
	/*统一title样式*/
	.title-u{
		padding: 10px;
		font-size: 16px;
		font-weight: bold;
		color: #000000;
	}
	/*统一标红数字样式*/
	.mr{
		color: #d7003a;
	}
	/*统一arrow箭头样式*/
	.m_arrow{
		width: 20px;
		height: 20px;
		position: absolute;
		top: 50%;
		right: 20px;
		transform: translateY(-50%);
		display: flex;
		justify-content: center;
		align-items: center;
	}
	
	/*--------------iconfont图标导入--------------*/
	@font-face {font-family: "iconfont";
	  src: 	  url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAxYAAsAAAAAFOwAAAwKAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCFDAqZSJQ9ATYCJANACyIABCAFhG0HgW4bdREz0lHOCoDsv07gxlCsBvoLtgshjMQrUZayTDMFkD23xO+7ScrXPtqfbrw5zMmuOxcdPBMBtd9v75n+hmskRKZ7IxJplEQSiwFP6RslMDx/s/d/8gC0uYHttjiVf5jVobW5s8OJ7WR0EFcIQEN55Uzr5M5BeyU0KIB3nXyTrxZ33vURBTB4fIo0N1sfXGsv4mkJ/D2hnjyPu9lxt93srdMykUhIhEiIMICDyX0MDI7Nit08JANvhEKNGz5BBje1RLqll/iQGHIzCfUPOT0+hHwN2yQ3s6JSxIrJj+1OQGVZJOj46uE5QoLhgE43jMAIn1uSkBAU9oyzaiI8SBXRXXQOcG/+fPgTH/BE0hhb9KRLN1LkzTaU8d/oSs/wXF0OrjxiHAKSq+2X63wHIOGdhFL1RnvDPHroREPP0Rq9WQFYFJjvF2PfNjgIX1jrzkjGjIflBfOy0EvXp84P0LXiX7xIpdZK5EqFRqqXETJEGoR81vcMgaqhY4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zJvLbDcuULQIBe8LwFzBMdKpslZnR8RsT5UZD7P94qUZoKDUX/4a7xGHKkqltAzMjYGA6xEAK6kRZDvCxAq4SHH9Ckawr3BAN+X7DsiiOScUxDI6Mou4N1Sm3EIHJ7dyIW+/xFCWD5IJYz61n6FKBqbOzDSN8wgvCY806ht6anNEGOGcjCgDlSEAHBFOYgv1wlAyPfnQRxGHy1QE9ozIE84K+mLtwVLnkQW35js/SohJsmKqumGadmO6/mhKnkLRQAzS8g9xskoLRnkLmSBFuO0piywWq6vqIV8kVBKPOYbNZoKK8O5K4o8HOtQuLA8qykfubHbT84RNyylKVpRliaCEwJFfgVZCXUfCNtyOuhD3qPCCJs2WWIhClfOLkI0qNZ6lkciAA==') format('woff2')
	}
	
	.iconfont {
	  font-family: "iconfont" !important;
	  font-size: 16px;
	  font-style: normal;
	  -webkit-font-smoothing: antialiased;
	  -moz-osx-font-smoothing: grayscale;
	}
	
	
	.iconsaoma:before {
	  content: "\e60b";
	}
	
	.iconyanjing_k:before {
	  content: "\e60c";
	}
	
	.iconqiandai:before {
	  content: "\e604";
	}
	
	.iconyanjing_b:before {
	  content: "\e622";
	}
	
	.iconshiming:before {
	  content: "\e71b";
	}
	
	.iconshouquanzhengshuchaxun:before {
	  content: "\ebb4";
	}
	
	.iconshangdian:before {
	  content: "\e633";
	}
	
	.iconwenti:before {
	  content: "\e669";
	}
	
	.iconshezhi:before {
	  content: "\e654";
	}
	
	.icongonggao:before {
	  content: "\e60f";
	}
	
	.iconkefu:before {
	  content: "\e617";
	}
	
	/* .iconshangxiajiantou:before {
	  content: "\e6b7";
	}
	
	.iconjiantou:before {
	  content: "\e618";
	}
	
	.iconxing:before {
	  content: "\e600";
	}
	
	.iconhuangguanguanjun:before {
	  content: "\e71c";
	} */
	
	.icon-shangxiajiantou:before {
	  content: "\e6b7";
	}
	
	.icon-arrow-right:before {
	  content: "\e618";
	}
	
	.icon-xing:before {
	  content: "\e600";
	}
	
	.icon-huangguan:before {
	  content: "\e71c";
	}
	/* 

	/*--------------iconfont图标导入--------------*/
	
	
	
	/*填充系统状态栏高度*/
	.status_bar{
		height: var(--status-bar-height);
		width: 100%;
	}
	
	.u-notice-bar.u-type-none-light-bg{
		padding: 0 !important;
	}
	
</style>
